Component org.nuxeo.ecm.platform.search.pageproviders
In bundle org.nuxeo.ecm.platform.search.core
Resolution Order
845
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.search.pageproviders">
<extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
point="providers">
<coreQueryPageProvider name="SAVED_SEARCHES_ALL">
<pattern>
SELECT * FROM Document WHERE ecm:mixinType = 'SavedSearch'
AND ((saved:query IS NOT NULL AND saved:queryLanguage IS NOT NULL)
OR saved:providerName IS NOT NULL)
AND ecm:isProxy = 0
AND ecm:isVersion = 0
AND ecm:isTrashed = 0
</pattern>
<sort column="dc:title" ascending="true" />
<pageSize>50</pageSize>
</coreQueryPageProvider>
<coreQueryPageProvider name="SAVED_SEARCHES_ALL_PAGE_PROVIDER">
<pattern>
SELECT * FROM Document WHERE ecm:mixinType = 'SavedSearch'
AND ((saved:query IS NOT NULL AND saved:queryLanguage IS NOT NULL)
OR saved:providerName IS NOT NULL)
AND ecm:isProxy = 0
AND ecm:isVersion = 0
AND ecm:isTrashed = 0
AND saved:providerName = :pageProvider
</pattern>
<sort column="dc:title" ascending="true" />
<pageSize>50</pageSize>
</coreQueryPageProvider>
<coreQueryPageProvider name="SAVED_SEARCHES">
<property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
<pattern>
SELECT * FROM Document WHERE ecm:mixinType = 'SavedSearch'
AND cvd:contentViewName IS NOT NULL
AND dc:creator = ? AND ecm:isProxy = 0
AND ecm:isVersion = 0
AND ecm:isTrashed = 0
AND SORTED_COLUMN IS NOT NULL
</pattern>
<sort column="dc:title" ascending="true" />
</coreQueryPageProvider>
<coreQueryPageProvider name="SHARED_SAVED_SEARCHES">
<property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
<pattern>
SELECT * FROM Document WHERE ecm:mixinType = 'SavedSearch'
AND cvd:contentViewName IS NOT NULL
AND dc:creator != ? AND ecm:isProxy = 0
AND ecm:isVersion = 0
AND ecm:isTrashed = 0
AND SORTED_COLUMN IS NOT NULL
</pattern>
<sort column="dc:title" ascending="true" />
</coreQueryPageProvider>
</extension>
</component>